package com.bang.study.factory;

/**
 * @ClassName: HumanWeapon
 * @author: BANG
 * @Date: 2019/10/28 14:26
 * @Version: 1.0
 * @Modified By:
 * @Desc: TODO
 */
public class HumanWeapon implements Weapon {

    private WeaponType weaponType;

    public HumanWeapon(WeaponType weaponType) {
        this.weaponType = weaponType;
    }

    @Override
    public String toString() {
        return "HumanWeapon{" +
                "weaponType=" + weaponType +
                '}';
    }

    @Override
    public WeaponType getWeaponType() {
        return weaponType;
    }
}
